wincom.dll v1.1

  Disclaimer
This script is provided by hIRC.org on a "AS IS" basis and any expressed or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall hIRC.org or it's contributors be liable for any damages (Including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business intteruption) However caused and on tort (Including negligence or otherwise) Arising in any way out of the use of this script, even if advised of the possibility of such damage.

  How to use...
This DLL allows you run some windows commands. Will add more functions later.

SetWallpaper

Syntax: /dll wincom.dll SetWallpaper dir/file.bmp

Example:
//echo -s $dll(wincom.dll,SetWallpaper,c:/mIRC/hello.bmp)
This function will ONLY work with .BMP files.


GetWallpaper

Syntax: /dll wincom.dll GetWallpaper .

Example:
//echo -a $dll(wincom.dll,GetWallpaper,.)
This will return the full path of the wallpaper you are currently using. ONLY works with XP


Msdos

Syntax: /dll wincom.dll Msdos Command

Example:
//echo -s $dll(wincom.dll,Msdos,ping http://www.hirc.org)
This will run the command directly in the Dos prompt.


OpenCD

Syntax: /dll wincom.dll OpenCD .

Example:
//echo -s $dll(wincom.dll,OpenCD,.)
This will Open your 1st CD tray.


CloseCD

Syntax: /dll wincom.dll CloseCD .

Example:
//echo -s $dll(wincom.dll,CloseCD,.)
This will Close your 1st CD tray.


SetScreen

Syntax: /dll wincom.dll SetScreen Bits Width Height Frequency

Example:
//echo -s $dll(wincom.dll,SetScreen,32 1024 768 75)
Where:
bit = 32
Width = 1024
Height = 768
Frequency = 75
This will Set your Screen resolution.


GetScreen

Syntax: /dll wincom.dll GetScreen .

Example:
//echo -s $dll(wincom.dll,GetScreen,.)
This will return your Screen resolution.


DllInfo

Syntax: /dll wincom.dll DllInfo .

Example:
/dll wincom.dll DllInfo .
Shows info about the DLL.


  What's New

Version 1.1
1. Added a SetScreen function.
2. Added more comments to code.
3. Optimized some code.
4. updated readme.html.

Version 1.0
1. 1st public release.


  Credits
Big thank you's go out to:
  • Khaled Mardam-Bey for creating mIRC
  • All of the idlers in #hIRC.org :)
  • If your name is not here, and you think it should be. Please email me. Thanks